//
//  HZ_Find_Model.m
//  HZ_Beautiful_Music
//
//  Created by dllo on 16/3/30.
//  Copyright © 2016年 ui. All rights reserved.
//

#import "HZ_Find_Model.h"

@implementation HZ_Find_Model

-(instancetype)initWithDataSource:(NSDictionary *)dataSource{
    
    
    self = [super init];
    
    if (self) {
        
        [self setValuesForKeysWithDictionary:dataSource];
        
        NSMutableArray *array = [NSMutableArray arrayWithCapacity:0];
        
        for (NSDictionary *dic in self.data) {
            
            HS_DataArray_Model *datamodel = [[HS_DataArray_Model alloc] initWithDataSource:dic];
            

            
            [array addObject:datamodel];
            
            
        }
        
        self.data = [[NSArray alloc] initWithArray:array];
        
        NSLog(@"88945645656%@", self.data);
    }
    
    return self;
    
    
}
@end
